/**
 * 
 * 13/08/2013
 */

/**
 * Define System Clock, in Hertz. In two different ways.
 */
#define SYS_FREQ                (20000000L)
#define	GetSystemClock()        (SYS_FREQ)
#define	GetPeripheralClock()    (GetSystemClock()/(1 << OSCCONbits.PBDIV))
#define	GetInstructionClock()	(GetSystemClock())